﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Modules.Person
{
    public class ServiceResult
    {
        public string msg { get; set; }
        public bool success { get; set; }
        public object data { get; set; }
    }

    public class ServiceResult<T>
    {
        public string msg { get; set; }
        public bool success { get; set; }
        public T data { get; set; }
    }

    /// <summary>
    /// 人脸对比结果
    /// </summary>
    public class FaceCompareResult
    {
        /// <summary>
        /// 系统判定是否通过
        /// </summary>
        public bool IsPass { get; set; }
        /// <summary>
        /// 相似度
        /// </summary>
        public float Similarity { get; set; }
    }

}
